package com.sy.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sy.pojo.Users;
import com.sy.vo.UsersPageVO;
import org.apache.ibatis.annotations.Param;
import org.springframework.boot.autoconfigure.security.SecurityProperties;

import java.util.List;

public interface UsersMapper extends BaseMapper<Users> {
   /*
    * @Author Mr.Liu
    * @Description //TODO 分页查询
    * @Date 13:43 2025/10/30
    * @Param [keyword, status]
    * @return java.util.List<com.sy.vo.UsersPageVO>
    **/
   List<UsersPageVO>  queryPage(@Param("keyword") String keyword, @Param("status") Integer status);
   /*
    * @Author Mr.Liu
    * @Description //TODO 修改用户的状态
    * @Date 13:45 2025/10/30
    * @Param [id, status]
    * @return int
    **/
   int updateStatus(@Param("id") Integer id,@Param("status") Integer status);

}